package com.tianhui.consignortwofei.api;


import com.fgs.common.CommonResponse;
import com.fgs.common.api.CommonApiService;
import com.tianhui.consignortwofei.mvp.model.enty.ConsignorInfo;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;

/**
 * api service
 */
public interface ConsignorApiService extends CommonApiService {

    //获取货主信息
    @GET("smc/customer/getMyInfo")
    Observable<CommonResponse> consignorInfo();

    //货主信息认证
    @POST("smc/customer/updateCustomer")
    Observable<CommonResponse> consignorAuthentication(@Body ConsignorInfo consignorInfo);

}


